package com.shiguiwu.springmybatis.designpattern.builder.scene;

/**
 * @description: man
 * @author: stone
 * @date: Created by 2021/8/15 20:10
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.builder.scene
 */
public class SceneTests {

    public static void main(String[] args) {
        DecorationPackageController decorationPackageController = new DecorationPackageController();

        //System.out.println(decorationPackageController.getMatterList(new BigDecimal("123.34"), 1));
        //System.out.println(decorationPackageController.getMatterList(new BigDecimal("122.34"), 2));
        //System.out.println(decorationPackageController.getMatterList(new BigDecimal("193.34"), 3));
        //

        Builder builder = new Builder();
        System.out.println(builder.levelOne(123.34D).getDetail());
        System.out.println(builder.levelTwo(122.32D).getDetail());
        System.out.println(builder.levelThree(173.34D).getDetail());

    }
}
